Optimal. Leaf size=74 \[ \frac{1}{7} x \left (-x^4+x^2+2\right )^{3/2}+\frac{1}{35} x \left (3 x^2+19\right ) \sqrt{-x^4+x^2+2}+\frac{48}{35} F\left (\left .\sin ^{-1}\left (\frac{x}{\sqrt{2}}\right )\right |-2\right )+\frac{34}{35} E\left (\left .\sin ^{-1}\left (\frac{x}{\sqrt{2}}\right )\right |-2\right ) \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.161289, antiderivative size = 74, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.429 \[ \frac{1}{7} x \left (-x^4+x^2+2\right )^{3/2}+\frac{1}{35} x \left (3 x^2+19\right ) \sqrt{-x^4+x^2+2}+\frac{48}{35} F\left (\left .\sin ^{-1}\left (\frac{x}{\sqrt{2}}\right )\right |-2\right )+\frac{34}{35} E\left (\left .\sin ^{-1}\left (\frac{x}{\sqrt{2}}\right )\right |-2\right ) \]
Antiderivative was successfully verified.
[In] Int[(2 + x^2 - x^4)^(3/2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 25.7945, size = 70, normalized size = 0.95 \[ \frac{x \left (3 x^{2} + 19\right ) \sqrt{- x^{4} + x^{2} + 2}}{35} + \frac{x \left (- x^{4} + x^{2} + 2\right )^{\frac{3}{2}}}{7} + \frac{34 E\left (\operatorname{asin}{\left (\frac{\sqrt{2} x}{2} \right )}\middle | -2\right )}{35} + \frac{48 F\left (\operatorname{asin}{\left (\frac{\sqrt{2} x}{2} \right )}\middle | -2\right )}{35} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((-x**4+x**2+2)**(3/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [C] time = 0.0888932, size = 102, normalized size = 1.38 \[ \frac{5 x^9-13 x^7-31 x^5+45 x^3-75 i \sqrt{-2 x^4+2 x^2+4} F\left (i \sinh ^{-1}(x)|-\frac{1}{2}\right )+34 i \sqrt{-2 x^4+2 x^2+4} E\left (i \sinh ^{-1}(x)|-\frac{1}{2}\right )+58 x}{35 \sqrt{-x^4+x^2+2}} \]
Antiderivative was successfully verified.
[In] Integrate[(2 + x^2 - x^4)^(3/2),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.005, size = 159, normalized size = 2.2 \[ -{\frac{{x}^{5}}{7}\sqrt{-{x}^{4}+{x}^{2}+2}}+{\frac{8\,{x}^{3}}{35}\sqrt{-{x}^{4}+{x}^{2}+2}}+{\frac{29\,x}{35}\sqrt{-{x}^{4}+{x}^{2}+2}}+{\frac{41\,\sqrt{2}}{35}\sqrt{-2\,{x}^{2}+4}\sqrt{{x}^{2}+1}{\it EllipticF} \left ({\frac{\sqrt{2}x}{2}},i\sqrt{2} \right ){\frac{1}{\sqrt{-{x}^{4}+{x}^{2}+2}}}}-{\frac{17\,\sqrt{2}}{35}\sqrt{-2\,{x}^{2}+4}\sqrt{{x}^{2}+1} \left ({\it EllipticF} \left ({\frac{\sqrt{2}x}{2}},i\sqrt{2} \right ) -{\it EllipticE} \left ({\frac{\sqrt{2}x}{2}},i\sqrt{2} \right ) \right ){\frac{1}{\sqrt{-{x}^{4}+{x}^{2}+2}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((-x^4+x^2+2)^(3/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (-x^{4} + x^{2} + 2\right )}^{\frac{3}{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((-x^4 + x^2 + 2)^(3/2),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left ({\left (-x^{4} + x^{2} + 2\right )}^{\frac{3}{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((-x^4 + x^2 + 2)^(3/2),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \left (- x^{4} + x^{2} + 2\right )^{\frac{3}{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((-x**4+x**2+2)**(3/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (-x^{4} + x^{2} + 2\right )}^{\frac{3}{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((-x^4 + x^2 + 2)^(3/2),x, algorithm="giac")
[Out]